#ifndef DEF_H_PIPE_SERVER
#define DEF_H_PIPE_SERVER








typedef 
WINUSERAPI 
DWORD 
(WINAPI *df_GetAnswerToRequest_Thread)
(
IN  void* pinbuff, 
IN  size_t insize,
OUT void *poutbuff, 
IN  size_t outsize, 
IN  unsigned int* lpretsize
);



#ifdef __cplusplus
extern "C" {
#endif 

DWORD WINAPI Pipe_main(UINT32 PIPE_TIMEOUT ,df_GetAnswerToRequest_Thread pthread);

#ifdef __cplusplus
};
#endif 



#endif _DEF_H_PIPE_SERVER